<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>grub2</Name>
        <Homepage>http://www.gnu.org/software/grub/</Homepage>
        <Packager>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <IsA>app:gui</IsA>
        <Summary>GNU GRUB is a Multiboot boot loader.</Summary>
        <Description>GNU GRUB (short for GNU GRand Unified Bootloader) is a boot loader package from the GNU Project.</Description>
        <Archive sha1sum="3d7eb6eaab28b88cb969ba9ab24af959f4d1b178" type="tarxz">http://ftp.gnu.org/gnu/grub/grub-2.02.tar.xz</Archive>
        <Archive sha1sum="4ec712aced1c2b4cb6cd1cbd83fc2154249d6977" type="tarxz" target="grub-2.02/grub-extras">http://source.pisilinux.org/1.0/grub2_extras_915resolution_r10.tar.xz</Archive>
        <Archive sha1sum="30797ba7a86fc32213b9ae994c9fa45f37d01170" type="gz">http://ftp.gnu.org/gnu/unifont/unifont-6.3.20131217/unifont-6.3.20131217.bdf.gz</Archive>
        <Archive sha1sum="bc062965689314bcee544c34fe0b0afef847448d" type="tarxz" target="grub-2.02/themes">https://sourceforge.net/projects/pisilinux/files/source/grub2-theme-pisilinux-0.4.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>autogen</Dependency>
            <Dependency>binutils</Dependency>
            <Dependency>bison</Dependency>
            <Dependency>flex</Dependency>
            <Dependency>gcc</Dependency>
            <Dependency>help2man</Dependency>
            <Dependency>texinfo</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>ncurses-devel</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>fuse-devel</Dependency>
            <Dependency>lvm2-devel</Dependency>
            <Dependency>device-mapper-devel</Dependency>
            <Dependency>gettext-devel</Dependency>
            <Dependency>noto-fonts</Dependency>
            <Dependency>efivar-devel</Dependency>
            <Dependency>efibootmgr-devel</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>dosfstools</Dependency>
        </BuildDependencies>
        <Replaces>
            <Package>grub</Package>
        </Replaces>
        <Patches>
            <Patch level="1">gfxpayload.patch</Patch>
            <Patch level="1">grub-2.02_beta2-KERNEL_GLOBS.patch</Patch>
            <Patch level="1">mkconfig-fix.patch</Patch>
            <Patch level="1">pisi_name_and_initramfs.patch</Patch>
            <Patch level="1">Allow_GRUB_to_mount_ext234_filesystems_that_have_the_encryption_feature.patch</Patch>
            <Patch level="1">tsc-Change-default-tsc-calibration-method-to-pmtimer-on-EFI-systems.patch</Patch>
            <Patch level="1">intel-ucode.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>grub2</Name>
        <RuntimeDependencies>
            <Dependency>freetype</Dependency>
            <Dependency>xz</Dependency>
            <Dependency>fuse</Dependency>
            <Dependency>lvm2</Dependency>
            <Dependency>device-mapper</Dependency>
            <Dependency>mtools</Dependency>
            <Dependency>os-prober</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="library">/usr/lib/grub/i386-pc/</Path>
            <Path fileType="library">/usr/lib/grub/x86_64-efi</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/grub</Path>
            <Path fileType="data">/usr/share/info</Path>
            <Path fileType="data">/boot/grub2</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
            <Path fileType="man">/usr/share/man/man8</Path>
            <Path fileType="config">/etc/bash_completion.d</Path>
            <Path fileType="config">/etc/grub.d</Path>
            <Path fileType="config">/etc/default</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/grub/pisi-grub-bg.png">pisi-grub-bg.png</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/default/grub">grub-defaults</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/etc/grub.d/30_uefi-firmware">30_uefi-firmware</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/update-grub">update-grub</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="10">
            <Date>2017-12-25</Date>
            <Version>2.02</Version>
            <Comment>Patch for ext234.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2017-12-06</Date>
            <Version>2.02</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
         <Update release="8">
            <Date>2017-06-19</Date>
            <Version>2.02_rc2</Version>
            <Comment>version B.</Comment>
            <Name>Ali Algul</Name>
            <Email>aligulle3801@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2017-03-04</Date>
            <Version>2.02_beta3</Version>
            <Comment>update.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2017-03-04</Date>
            <Version>2.02_beta2</Version>
            <Comment>Rebuild.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-08-21</Date>
            <Version>2.02_beta2</Version>
            <Comment>New theme</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-07-30</Date>
            <Version>2.02_beta2</Version>
            <Comment>Add windows 42_custom remove</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-07-12</Date>
            <Version>2.02_beta2</Version>
            <Comment>Add windows 42_custom</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-25</Date>
            <Version>2.02_beta2</Version>
            <Comment>Add efi</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>2.02_beta2</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
         </Update>
         <Update release="1">
            <Date>2016-04-20</Date>
            <Version>2.02_beta2</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
